projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50eabd1
)
fix "Mismatching new/free or malloc/delete" found by CodeQL. (#649)
author
tsteven4
<13596209+tsteven4@users.noreply.github.com>
Sun, 8 Nov 2020 17:51:41 +0000
(10:51 -0700)
committer
GitHub
<noreply@github.com>
Sun, 8 Nov 2020 17:51:41 +0000
(10:51 -0700)
ozi.cc
patch
|
blob
|
history
diff --git
a/ozi.cc
b/ozi.cc
index 87f7e036d9900ba9b316cff2210f13480aa382e3..63d030f9761f4626b2bc44160f0142193b08fd10 100644
(file)
--- a/
ozi.cc
+++ b/
ozi.cc
@@
-931,7
+931,7
@@
ozi_waypt_pr(const Waypoint* wpt)
*stream << qSetRealNumberPrecision(0) << alt << ",6,0,17\r\n";
if (faked_fsdata) {
-
xfree(fs)
;
+
delete fs
;
}
}